<?php
function errorAll($emsg)  //ADD ($value) HERE.//
{
 $epage='404';
 echo'<div class="alert alert-error">',
 '<button type="button" class="close" data-dismiss="alert">&times</button>',
 '<strong>', $epage,
 '</strong>', $emsg,
 '<br />',
 '</div>';

}//end function
//TO CALL THIS FUNCTION
//echo errorAll();
?>